body {
  font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Helvetica, Arial, Verdana, sans-serif;
}

#before {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#before .button {
  position: absolute;
  bottom: 5vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.button {
  height: 22px;
  color: #495060;
  background-color: white;
  border-color: #f65b4f;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.button:hover {
  cursor: pointer;
  transform: scale(0.95);
}

.button.disabled {
  color: rgba(0, 0, 0, 0.65);
  background-color: #e9eaec;
}

#after {
  display: none;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

#after img {
  height: 80vh;
  margin-bottom: 8vh;
}

#after img {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#after img:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

#after #tips {
  max-width: 80vw;
  display: none;
  position: fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  bottom: 3vh;
  border: 1px solid #d1f2e1;
  background-color: #e8f9f0;
  padding: 8px 16px;
  border-radius: 6px;
  color: #495060;
  font-size: 12px;
  line-height: 16px;
}

.pacman {
  display: none;
  width: 54px;
  transform: scale(0.3);
}

.pacman>div:first-of-type, .pacman>div:nth-child(2) {
  width: 0;
  height: 0;
  border-right: 25px solid transparent;
  border-top: 25px solid #f65b4f;
  border-left: 25px solid #f65b4f;
  border-bottom: 25px solid #f65b4f;
  border-radius: 25px;
  position: relative;
  left: -30px
}

@-webkit-keyframes rotate_pacman_half_up {
  0%, 100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg)
  }

  50% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }

}

@keyframes rotate_pacman_half_up {
  0%, 100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg)
  }

  50% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }

}

@-webkit-keyframes rotate_pacman_half_down {
  0%, 100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
  }

  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

}

@keyframes rotate_pacman_half_down {
  0%, 100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
  }

  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

}

@-webkit-keyframes pacman-balls {
  75% {
    opacity: .7
  }

  100% {
    -webkit-transform: translate(-100px, -6.25px);
    transform: translate(-100px, -6.25px)
  }

}

@keyframes pacman-balls {
  75% {
    opacity: .7
  }

  100% {
    -webkit-transform: translate(-100px, -6.25px);
    transform: translate(-100px, -6.25px)
  }

}

.pacman {
  position: relative
}

.pacman>div:nth-child(3) {
  -webkit-animation: pacman-balls 1s -.66s infinite linear;
  animation: pacman-balls 1s -.66s infinite linear
}

.pacman>div:nth-child(4) {
  -webkit-animation: pacman-balls 1s -.33s infinite linear;
  animation: pacman-balls 1s -.33s infinite linear
}

.pacman>div:nth-child(5) {
  -webkit-animation: pacman-balls 1s 0s infinite linear;
  animation: pacman-balls 1s 0s infinite linear
}

.pacman>div:first-of-type {
  -webkit-animation: rotate_pacman_half_up .5s 0s infinite;
  animation: rotate_pacman_half_up .5s 0s infinite
}

.pacman>div:nth-child(2) {
  -webkit-animation: rotate_pacman_half_down .5s 0s infinite;
  animation: rotate_pacman_half_down .5s 0s infinite;
  margin-top: -50px
}

.pacman>div:nth-child(3), .pacman>div:nth-child(4), .pacman>div:nth-child(5), .pacman>div:nth-child(6) {
  background-color: #f65b4f;
  border-radius: 100%;
  margin: 2px;
  width: 10px;
  height: 10px;
  position: absolute;
  -webkit-transform: translate(0, -6.25px);
  transform: translate(0, -6.25px);
  top: 25px;
  left: 70px
}
